package com.beta.cust.bind.datasync.api.result;

import com.beta.elephant.vo.BaseResultCode;

import java.io.Serializable;

/**
 * 错误码定义
 */
public enum ResResultEnum implements BaseResultCode, Serializable {
    SUCC(200, "操作成功！");

    private int code;
    private String msg;

    ResResultEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }

    @Override
    public void setMsg(String msg) {
        this.msg = msg;
    }

}
